package lucene.search
{
	import lucene.document.Document;
	import lucene.index.Term;
	
	public interface IReader
	{
	
		function getSimilarity():Similarity;
		
		function termDocs(t:Term):Array;
		
		function termFreqs(t:Term):Array;
		
		function docFreq(t:Term):int;
		
		function count():int;
		
		function norm (docId:int, termField:String):Number;
		
		function getDocument(id:int):Document;
		
	}
	
}